#include<stdio.h>
#include<conio.h>
#include<math.h>
int giaithuaDQ(int n){
	if(n==1 || n==0) return 1;
	else return giaithuaDQ(n-1)*n;
}
int main(){
   int n;
   printf("\nnhap vao n: ");
   scanf("%d",&n);
   printf("\ngiai thua: %d",giaithuaDQ(n));
   getch();
}

